package com.bestdreamer.design.principle.singleresponsibility;

/**
 * 方法单一职责
 */
public class Method {

    private void updateUserInfo(String username,String address){
        username = "hkrong";
        address = "beijing";
    }

    private void updateUserInfo(String username,String... properties){

    }

    private void updateUserName(String username){
        username = "hkrong";
    }
}
